package com.nbsaas.boot.store.api.domain.request;

import com.nbsaas.boot.rest.filter.Operator;
import com.nbsaas.boot.rest.filter.Search;
import com.nbsaas.boot.rest.request.PageRequest;
import lombok.*;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.nbsaas.boot.store.api.domain.enums.StoreStatus;

/**
* -搜索bean
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class StoreSearch   extends PageRequest implements Serializable {

/**
* 序列化参数
*/
private static final long serialVersionUID = 1L;

    /**
    * 商家id
    **/
    @Search(name = "shop.id",operator = Operator.eq)
    private Long shop;
    /**
    * 联系电话
    **/
    @Search(name = "phone",operator = Operator.like)
    private String phone;
    /**
    * 门店名称
    **/
    @Search(name = "name",operator = Operator.like)
    private String name;
    /**
    * 状态
    **/
    @Search(name = "storeStatus",operator = Operator.eq)
    private StoreStatus storeStatus;




}